From 0e42f08be2fd693e387b0d301d4ca70627c29d6a Mon Sep 17 00:00:00 2001 From: "kaf24@freefall.cl.cam.ac.uk" Date: Sun, 7 Nov 2004 22:20:44 +0000 Subject: [PATCH] bitkeeper revision 1.1159.169.1 (418e9fbcYPjvgCp5hHW29dMCpCsuDA) Disable Xen VGA output later in the boot, so we get more start-of-day messages. Most importantly, users get a visual cue on VGA console when whole of main memory is scrubbed immediately before starting dom0. --- xen/arch/x86/domain.c | 3 --- xen/common/kernel.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 84ce4afce9..baa52acb70 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -895,9 +895,6 @@ int construct_dom0(struct domain *p, l2start[i] = mk_l2_pgentry(0); zap_low_mappings(); /* Do the same for the idle page tables. */ - /* Give up the VGA console if DOM0 is configured to grab it. */ - console_endboot(cmdline && strstr(cmdline, "tty0")); - /* DOM0 gets access to everything. */ physdev_init_dom0(p); diff --git a/xen/common/kernel.c b/xen/common/kernel.c index 29e2488875..c7e6b27a4e 100644 --- a/xen/common/kernel.c +++ b/xen/common/kernel.c @@ -349,6 +349,9 @@ void cmain(multiboot_info_t *mbi) init_trace_bufs(); + /* Give up the VGA console if DOM0 is configured to grab it. */ + console_endboot(cmdline && strstr(cmdline, "tty0")); + domain_unpause_by_systemcontroller(current); domain_unpause_by_systemcontroller(dom0); startup_cpu_idle_loop(); -- 2.30.2